package com.xdjmall.dao;

import java.sql.SQLException;
import java.util.List;

import com.xdjmall.entity.IndexConfig;
import com.xdjmall.util.QueryCondition;

public interface IndexConfigDao extends BaseDao<IndexConfig>{
	// 分页查询的条数
	Integer selectTotalIndexConfig(QueryCondition condition)throws SQLException;
	//批量删除
    Integer deleteBatch(Integer[] ids)throws SQLException;
    //根据配置类型和数量查询
    List<IndexConfig> selectIndexConfigsByTypeAndNum(Integer configType, Integer number)throws SQLException;
}
